<?php
$this->headTitle('Write your email');
$this->placeholder('content_title')->set('Write your mail here');
$this->placeholder('body_onload')->set('document.emailform.email_to.focus();');
$flashMessenger = Zend_Controller_Action_HelperBroker::getStaticHelper('FlashMessenger')->setNamespace('email');
$Message = implode('<br />', $flashMessenger->getMessages());
$this->placeholder('flash_message')->set($Message);
?>
<div>
    <br />
    <form method="post" action="<?php echo $this->U('email', 'send'); ?>" name="emailform" enctype="multipart/form-data">
    <label>From : </label><br />
    <span>kim.jin@bysoft.fr</span><br /><br />
    <input type="hidden" name="email_from" id="email_from" value="kim.jin@bysoft.fr" />
    <label>To : </label><br />
    <input type="text" name="email_to" id="email_to" value="kim.jin@bysoft.fr" onfocus="this.select();" /><br /><br />
    <label>Cc : </label><br />
    <input type="text" name="email_cc" id="email_cc" value="xqpmxqpm@126.com" onfocus="this.select();" /><br /><br />
    <label>Bcc : </label><br />
    <input type="text" name="email_bcc" id="email_bcc" value="" onfocus="this.select();" /><br /><br />
    <label>Subject : </label><br />
    <input type="text" name="email_subject" id="email_subject" value="This is a text email" /><br /><br />
    <label>Content : </label><br />
    <textarea name="email_body" id="email_body" value="" cols="40" rows="4" wrap="soft"></textarea><br /><br />
    <label>Attachment : </label><br />
    <input type="file" name="email_attachment" id="email_attachment" value="" />
    <input type="hidden" name="MAX_FILE_SIZE" value="100000" /><br /><br />
    <input type="hidden" name="token" id="token" value="<?php echo $this->escape($this->token);?>" />
    <input type="Submit" name="submit" id="submit" value="Send Email" /><br />
    </form>
</div>